package com.colorful.insuranceproject.base;

import android.graphics.Color;
import android.view.ViewGroup;
import android.widget.TextView;

import com.colorful.insuranceproject.R;
import com.lovely3x.common.image.picker.ImagePickerListActivity;

/**
 * Created by lovely3x on 17/3/18.
 */
public abstract class ExactEmptyContentTipActivity extends com.lovely3x.common.activities.emptytip.ExactEmptyContentTipActivity{

    @Override
    protected void addTitleHeader(ViewGroup titleContainer) {
        super.addTitleHeader(titleContainer);
        getTitleContainer().setBackgroundColor(getColor(R.color.colorPrimaryDark, true));
        getTvTitle().setTextColor(Color.WHITE);
        getIvBack().setImageResource(R.drawable.tab_left);
        getTitleContent().setBackgroundColor(getColor(R.color.base_bg, true));
    }


    @Override
    protected Class<? extends ImagePickerListActivity> getImgChoiceActivity() {
        return YLSImagePickerListActivity.class;
    }
    public TextView addRightBtn(String text, int id) {
        TextView tv = super.addRightBtn(text, id);
        tv.setTextColor(Color.WHITE);
        return tv;
    }


}
